package com.Snake;

import javax.swing.*;
import java.net.URL;

/**
 * @create 2022-03-2022/3/18-21:50
 */
public class StaticData {
    //存放数据
    public static URL mapURL= StaticData.class.getResource("/statics/map/background01.png");
    public static ImageIcon map =new ImageIcon(mapURL);

    public static URL head_up_url= StaticData.class.getResource("/statics/image/snake_head_up.png");
    public static ImageIcon head_up =new ImageIcon(head_up_url);

    public static URL head_down_url= StaticData.class.getResource("/statics/image/snake_head_down.png");
    public static ImageIcon head_down =new ImageIcon(head_down_url);

    public static URL head_left_url= StaticData.class.getResource("/statics/image/snake_head_left.png");
    public static ImageIcon head_left =new ImageIcon(head_left_url);

    public static URL head_right_url= StaticData.class.getResource("/statics/image/snake_head_right.png");
    public static ImageIcon head_right=new ImageIcon(head_right_url);

    public static URL body_url= StaticData.class.getResource("/statics/image/snake_body.png");
    public static ImageIcon body=new ImageIcon(body_url);

    public static URL food_url= StaticData.class.getResource("/statics/image/food.png");
    public static ImageIcon food=new ImageIcon(food_url);


    public static URL tail_up_url= StaticData.class.getResource("/statics/image/snake_tail_up.png");
    public static ImageIcon tail_up =new ImageIcon(tail_up_url);

    public static URL tail_down_url= StaticData.class.getResource("/statics/image/snake_tail_down.png");
    public static ImageIcon tail_down =new ImageIcon(tail_down_url);

    public static URL tail_left_url= StaticData.class.getResource("/statics/image/snake_tail_left.png");
    public static ImageIcon tail_left =new ImageIcon(tail_left_url);

    public static URL tail_right_url= StaticData.class.getResource("/statics/image/snake_tail_right.png");
    public static ImageIcon tail_right=new ImageIcon(tail_right_url);

}
